import request from '@/utils/request'

// 查询大屏类别列表
export function listLedType(query) {
  return request({
    url: '/led/ledType/list',
    method: 'get',
    params: query
  })
}

// 查询大屏类别详细
export function getLedType(id) {
  return request({
    url: '/led/ledType/' + id,
    method: 'get'
  })
}

// 新增大屏类别
export function addLedType(data) {
  return request({
    url: '/led/ledType',
    method: 'post',
    data: data
  })
}

// 修改大屏类别
export function updateLedType(data) {
  return request({
    url: '/led/ledType',
    method: 'put',
    data: data
  })
}

// 删除大屏类别
export function delLedType(id) {
  return request({
    url: '/led/ledType/' + id,
    method: 'delete'
  })
}
